<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录界面</title>
</head>
<body>
    <form action="/form/index/" method="post">
        <label>用户名：</label><input name="username" type="text" required>
        <label>密  码：</label><input name="password" type="password" required>
        <input type="submit" value="登录">
        {% csrf_token %}

    </form>
</body>
</html>